package com.evaluation.mapper;

import com.evaluation.entity.EvaluateEntity;
import com.evaluation.entity.EvaluateEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface EvaluateEntityMapper {
    long countByExample(EvaluateEntityExample example);

    int deleteByExample(EvaluateEntityExample example);

    int deleteByPrimaryKey(Integer id);

    int insertBatch(List<EvaluateEntity> records);

    int insert(EvaluateEntity record);

    int insertSelective(EvaluateEntity record);

    EvaluateEntity selectOneByExample(EvaluateEntityExample example);

    List<EvaluateEntity> selectByExamplePaging(@Param("example") EvaluateEntityExample example, @Param("offset") int offset, @Param("limit") int limit);

    List<EvaluateEntity> selectByExample(EvaluateEntityExample example);

    EvaluateEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") EvaluateEntity record, @Param("example") EvaluateEntityExample example);

    int updateByExample(@Param("record") EvaluateEntity record, @Param("example") EvaluateEntityExample example);

    int updateByPrimaryKeySelective(EvaluateEntity record);

    int updateByPrimaryKey(EvaluateEntity record);

    List<EvaluateEntity> getEvaAll(int teaId);

    List<EvaluateEntity> getAllEva();
}